﻿#ifndef FITINNERCIRCLE
#define FITINNERCIRCLE

#include <opencv2/imgproc/imgproc.hpp>
#include <vector>

bool fitCircle(const std::vector<cv::Point2i> &points, double &center_x, double &center_y, double &radius);
bool fitCircle(const cv::Mat &image, double &center_x, double &center_y, double &radius, unsigned char threshold);
bool fitInnerCircle(const cv::Mat &image, double &center_x, double &center_y, double &radius, unsigned char threshold);

#endif // FITINNERCIRCLE

